#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:homework1_3.py
# author:wmf
# datetime:2021/3/7 20:25
# software: PyCharm
'''
this is function description
'''
# import module your need

#3 定义2个列表，并初始化；  找出这2个列表中，相同的元素并输出；

list1 = ['abc','xyz',10,50,100,'opq','rst']
list2 = ['abc','xy',10,70,100,'rst','mn']

for i in range(0,len(list1)):
    for j in range(0,len(list1)):
        if(list1[i] == list2[j]):
            print(list1[i])
